package com.smart.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;


/**
 * 优惠券审核实体类
 * 
 * @author zhaoyf	
 * @email 174883444@qq.com
 * @date 2018-12-29 11:30:20
 */
@Data
public class CpExamineDO implements Serializable {
	private static final long serialVersionUID = 1L;
	
	//ID
	private Long cpId;
	//所属平台
	private Integer platId;
	
	private String platName;
	//所属商户
	private Integer merchantId;
	private String merchantName;
	//所属省编号
	private String provinceNum;
	//所属省名称
	private String provinceName;
	//所属市编号
	private String cityNum;
	//所属市名称
	private String cityName;
	//券名称
	private String cpName;
	//券类型
	private Integer cpTypeId;
	//券搜索分类
	private Integer searchTypeId;
	//分类名称
	private String searchTypeName;
	//实际价值
	private BigDecimal costFee;
	//有效期数值
	private String validValue;
	//过期配置
	private Integer expiredConf;
	//上架状态
	private Integer pubFlag;
	//券描述
	private String cpContent;
	//审核备注
	private String checkInfo;
	//审核时间
	private Date checkTime;
	//审核人
	private String checkBy;
	//券编号（字符串类型，用于优惠券审批 批量审批）
	private String cpIdArray;

	@Override
	public String toString() {
		return "CpExamineDO [cpId=" + cpId + ", platId=" + platId + ", platName=" + platName + ", merchantId="
				+ merchantId + ", merchantName=" + merchantName + ", provinceNum=" + provinceNum + ", provinceName="
				+ provinceName + ", cityNum=" + cityNum + ", cityName=" + cityName + ", cpName=" + cpName
				+ ", cpTypeId=" + cpTypeId + ", searchTypeId=" + searchTypeId + ", searchTypeName=" + searchTypeName
				+ ", costFee=" + costFee + ", validValue=" + validValue + ", expiredConf=" + expiredConf + ", pubFlag="
				+ pubFlag + ", cpContent=" + cpContent + ", checkInfo=" + checkInfo + ", checkTime=" + checkTime
				+ ", checkBy=" + checkBy + ", cpIdArray=" + cpIdArray + "]";
	}	
}
